<!-- Begin docs/search_result.tpl -->
{opentable}
{titlebar colspan=5 title="$title"}
{if is_array($docs)}
<tr class="sectiontableheader" align="center" >
<td align="left">{$lg->ltext}</td>
<td align="left" width="25%">{$lg->comment}</td>
<td align="left" width="15%">{$lg->dtype}</td>
<td width="10%">{$lg->cdate}</td>
<td width="10%">{$lg->last_modified}</td>
<td width="5%">File(s)</td>
</tr>
{foreach from=$docs item=doc}
<tr class="{rowcolor}">
	<td><a href="?module=docs&action=view&did={$doc.did}">{$doc.ltext}</a></td>
	<td>{$doc.ctext}</td>
	<td>{f_dd01_cv id=dtype value=$doc.dtype}</td>
	<td nowrap>{username id=$doc.cname} - {$doc.cdate|userdate}</td>
	<td nowrap>{username id=$doc.uname} - {$doc.mdate|userdate}</td>
	<td align="center"><a href="?module=docs&action=download&did={$doc.did}"><img src="{$smarty.env.imgs.download}" border="0" /></a></td>
</tr>
{/foreach}
{else}
<tr class="data"><td>No documents found.</td></tr>
{/if}
{closetable}
<!-- End docs/search_result.tpl -->